/**
 * 
 */
package com.sicocre.business.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.sicocre.beans.Pagos;
import com.sicocre.business.dao.IPagoDao;
import com.sicocre.business.service.IPagoService;

/**
 * @author lserrano 
 */

@Service
public class PagoServiceImpl implements IPagoService {

	
	@Autowired
	private IPagoDao pagoDao;
	

	
	
	public boolean insertPagos(Pagos pago, int idApertura) {
		// TODO Auto-generated method stub
		return pagoDao.insertarPago(pago, idApertura) > 0;
	}
	
	
	public IPagoDao getPagoDao() {
		return pagoDao;
	}

	public void setPagoDao(IPagoDao pagoDao) {
		this.pagoDao = pagoDao;
	}

	
	
	
}
